package com.fancylargo.crowd;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

// 开启远程调用服务接口，需要写上包名,只要服务启动就会自动扫描该包下的注释有@eignClient 的接口
@EnableFeignClients("com.fancylargo.crowd.feign")
@EnableDiscoveryClient
@SpringBootApplication
public class CrowdMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(CrowdMemberApplication.class, args);
        System.out.println("商城会员服务启动成功!");
    }

}
